{include file="public/head"}

<body>
<style>
    .newslist .title{
        /*display: flex;*/
        /*justify-content: space-between;*/
        /*align-items: center;*/
    }
    .newslist img{
        max-width: 100%;
    }
    .newslist .title .name{
        font-size: 2rem;
    }
    .msg{
        padding-bottom: .5rem;
    }
    .back{
       display: flex;
        padding-top: 1rem;
        border-top: 1px solid #efefef;
        justify-content: flex-end;
    }
    .back p{
        width: 5rem;
        text-align: center;
        background: #dedede;
        padding: 1% 0;
    }
</style>
<div id="wrapper">
    {include file="public/menu"}
    <div id="page-wrapper" class="gray-bg dashbard-1">
        {include file="public/nav"}
        <div class="row wrapper border-bottom white-bg page-heading">
            <div class="col-lg-10">
                <h2>公告</h2>
                <ol class="breadcrumb">
                    <li>
                        <a href="{:url('User/Panel')}">主页</a>
                    </li>
                    <li>
                        <a>前台公告</a>
                    </li>
                    <li>
                        <strong>{$detail.title}</strong>
                    </li>
                </ol>
            </div>
            <div class="col-lg-2">

            </div>
        </div>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">

                        </div>

                        <div class="ibox-content">
                            <div class="row newslist">
                                <div class="title">
                                    <p class="name col-lg-10">{$detail.title}</p>
                                    <p class="col-lg-2" style="text-align: right">{$detail.add_time|date='Y-m-d H:i:s',###}</p>
                                </div>
                                <div class="msg col-lg-12">
                                    {$detail.content}
                                </div>
                                <div class="back col-lg-12" style="cursor: pointer" onclick="window.location.href = '{:url("NoticeList")}'">
                                    <p>返回</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        {include file="public/foot"}

    </div>
</div>
</div>
{include file="public/footer"}
</body>
</html>
